import React from 'react'

import TagWrapper from './styledTag.js'

export default function Tag({
    size,
    color,  //字体颜色
    bgColor, //背景颜色
    text
}) {
    return (
        <TagWrapper
        color = {color}
        bgColor = {bgColor}
        size = {size}
        >
            <span>{text}</span>
        </TagWrapper>
    )
}
